package cn.liujing.service;

import cn.liujing.entity.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("cloud-payment-service")
@Service
public interface OrderService {
    @GetMapping("/payment/getpaymentbyId/{id}")
    public CommonResult getPaymentById(@PathVariable("id") int id);
}
